/**
 * 公司信息
 *
 * @export
 * @class Company
 */
export class Company {

  constructor(
    public companyId: number,
    public companyName: string,
    public companyCode: string,
    public enName: string,
    public contact: string,
    public telNo: string,
    public email: string,
    public faxNo: string,
    public city: string,
    public addr: string,
    public zip: string,
    public introduce: string,
    public parentId?: number,
    public children?: Company[],
    public companyLevel?: number,
    public isShow?: boolean,
    public isLimited?: boolean,
    public isChecked: boolean = false,
  ) {
    Object.defineProperty(this, 'children', {enumerable: false});
    Object.defineProperty(this, 'companyLevel', {enumerable: false});
    Object.defineProperty(this, 'isChecked', {enumerable: false});
    Object.defineProperty(this, 'isShow', {enumerable: false});
  }


}

